x86emul: add "unblock NMI" retire flag
authorJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2017 11:24:18 +0000 (13:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2017 11:24:18 +0000 (13:24 +0200)
commit75704266f987c11ed98cd0a26c52898ab358e95e
tree4dd1367f60c67d63576f6acfc15157319a656f5b
parent828aa3352f97b613bd06daf7eb1ae734262196be
x86emul: add "unblock NMI" retire flag

No matter that we emulate IRET for (guest) real mode only right now, we
should get its effect on (virtual) NMI delivery right. Note that we can
simply check the other retire flags also in the !OKAY case, as the
insn emulator now guarantees them to only be set on OKAY.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/x86_emulate/x86_emulate.c
xen/arch/x86/x86_emulate/x86_emulate.h